#ifndef WIDGET_H
#define WIDGET_H

#include "audio.h"
#include "serial.h"

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:
    void on_btnInput_pressed();

    void on_btnInput_released();

    void on_btnCancel_clicked();

    void on_btnSerialSet_clicked();

private:
    Ui::Widget *ui;
    Audio *m_audio;
    Serial *m_port;
};
#endif // WIDGET_H
